package com.designpatterns.visitor;

import java.util.Collection;

import com.designpatterns.concreteelement.FloatElement;
import com.designpatterns.concreteelement.StringElement;

/**
 * Visitor Interface
 * 
 * @author Haiqi.Wang
 * @since 2013-7-1下午3:06:40
 */
public interface Visitor {
	/**
	 * visitString Method
	 * 
	 * @param stringE
	 *            {@link StringElement}
	 */
	public void visitString(StringElement stringE);

	/**
	 * visitFloat Method
	 * 
	 * @param floatE
	 *            {@link FloatElement}
	 */
	public void visitFloat(FloatElement floatE);

	/**
	 * visitCollection Method
	 * 
	 * @param collection
	 *            {@link Collection}
	 */
	public void visitCollection(Collection<?> collection);
}
